<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html">
    <h:head>
        <title>Монитор Валют</title>
        <h:outputStylesheet name="css/jsfcrud.css"/>
    </h:head>
    <h:body>
    <h:panelGroup id="messagePanel" layout="block">
        <h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
    </h:panelGroup>
    <h:form>
        <h:commandLink action="/banks/List" value="Банки"/>
    </h:form>
    <h:form>
        <h:commandLink action="/banksInRegions/List" value="Банки в регионах"/>
    </h:form>
    <h:form>
        <h:commandLink action="/branches/List" value="Отделения банков"/>
    </h:form>
    <h:form>
        <h:commandLink action="/currencies/List" value="Валюты"/>
    </h:form>
    <h:form>
        <h:commandLink action="/errorReports/List" value="Отчтеты об ошибках"/>
    </h:form>
    <h:form>
        <h:commandLink action="/rates/List" value="Курсы валют"/>
    </h:form>
    <h:form>
        <h:commandLink action="/regions/List" value="Регионы"/>
    </h:form>
    <h:form>
        <h:commandLink action="/templates/List" value="Шаблоны"/>
    </h:form>
    <h:form>
        <h:commandButton action="#{indexController.updateRates()}" value="Обновить курсы валют"/>
    </h:form>
</h:body>
</html>

